package cn.stylefeng.guns.modular.business.frequency.modifyrecord.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.modifyrecord.entity.ModifyRecord;
import cn.stylefeng.guns.modular.business.frequency.modifyrecord.model.param.ModifyRecordParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 修改记录 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
public interface ModifyRecordService extends IService<ModifyRecord> {

    /**
     * 分页查询修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    PageResult<ModifyRecord> page(ModifyRecordParam modifyRecordParam);

    /**
     * 查询所有修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    List<ModifyRecord> list(ModifyRecordParam modifyRecordParam);

    /**
     * 添加修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void add(ModifyRecordParam modifyRecordParam);

    /**
     * 删除修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void delete(ModifyRecordParam modifyRecordParam);

    /**
     * 编辑修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void edit(ModifyRecordParam modifyRecordParam);

    /**
     * 查看详情修改记录
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    ModifyRecord detail(ModifyRecordParam modifyRecordParam);

}